#include "String.h"

void test1()
{
	//wzw::string str1;
	//wzw::string str2("string2");
	//wzw::string str3 = "string3";
	//wzw::string str4(str3);
	//wzw::string str5 = str4;

	//str1.reserve(5);
	//str4.reserve(13);
	//str4.resize(10, 't');
	//str2.resize(10);
	
	wzw::string str1("string1");
	//for (auto c : str1)
	//{
	//	std::cout << c;
	//}
	//std::cout << std::endl;
	str1.push_back('c');
	str1.append("tt");
	wzw::string str2("hello");
	str1.append(str2);

	str1.erase(5);
}

void test2()
{
	std::string str1("h");
	std::cout << str1.front() << std::endl;
	str1.erase(0);

}

void test3()
{
	wzw::string str("hello world");
	str.insert(5, "insertinsertinert");

	return;
}

int main()
{
	//test1();
	//test2();
	test3();

	return 0;
}